PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFFreeTextAnnotation Class / setInteriorColor Method
A com.o2sol.pdf4java.graphics.colors.PDFColor specifying the color to fill the annotation interior. throws IllegalArgumentException When the property is set to a color other than Gray, RGB or CMYK.
In This Topic
    setInteriorColor Method
    In This Topic
    Sets the annotation interior color.
    The color must be Gray, RGB or CMYK.
    Syntax
    public void setInteriorColor( 
       PDFColor value
    )

    Parameters

    value
    A com.o2sol.pdf4java.graphics.colors.PDFColor specifying the color to fill the annotation interior. throws IllegalArgumentException When the property is set to a color other than Gray, RGB or CMYK.
    See Also